package com.ruoyi.employment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.student.domain.TClass;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 就业跟踪对象 t_employment_trace
 * 
 * @author ruoyi
 * @date 2022-12-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TEmploymentTrace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;


    /** 所属班级 */
    @Excel(name = "班级名称")
    private String className;

    /** 学生名字 */
    @Excel(name = "学生名字")
    private String studentName;

    private List<String> studentNames;

    /** 跟踪时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "跟踪时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date traceTime;

    /** 跟踪目的 */
    @Excel(name = "跟踪目的")
    private String traceGoal;

    /** 跟踪备注 */
    @Excel(name = "跟踪备注")
    private String note;

    /** 教师跟踪人 */
    @Excel(name = "教师跟踪人")
    private String teacherName;

    /** 学生状态  */
    @Excel(name = "学生状态")
    private String studentState;

    /** 跟踪次数 */
    @Excel(name = "跟踪次数")
    private Long count;



    private TClass tClass = new TClass();

    public TClass gettClass() {
        return tClass;
    }

    public void settClass(TClass tClass) {
        this.tClass = tClass;
    }


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setTraceTime(Date traceTime) 
    {
        this.traceTime = traceTime;
    }

    public Date getTraceTime() 
    {
        return traceTime;
    }
    public void setTraceGoal(String traceGoal) 
    {
        this.traceGoal = traceGoal;
    }

    public String getTraceGoal() 
    {
        return traceGoal;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setStudentState(String studentState) 
    {
        this.studentState = studentState;
    }

    public String getStudentState() 
    {
        return studentState;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("className", getClassName())
            .append("studentName", getStudentName())
            .append("traceTime", getTraceTime())
            .append("traceGoal", getTraceGoal())
            .append("note", getNote())
            .append("teacherName", getTeacherName())
            .append("studentState", getStudentState())
            .append("count", getCount())
            .toString();
    }
}
